﻿using System;
using System.Collections.Generic;
using EpiNEXT.Services;
using EpiNEXT.Services.Data;

namespace EpiNEXT.Data
{
    /// <summary>
    /// Abstract base type for structured query language (SQL) databases
    /// </summary>
    public abstract class SqlDriverBase : DbDriverBase
    {
        public SqlDriverBase(string connectionString)
            : base(connectionString)
        {
        }

        /// <summary>
        /// Checks for record insertions and updates on a specific form
        /// </summary>
        /// <param name="form">The form to check for record updates</param>
        public abstract void CheckForUpdates(Form form);
    }
}
